package reflex.learning01;

/**
 * @program JavaBase
 * @description:    代理类
 * @author: zhanglu
 * @create: 2019-06-07 11:01:00
 */
public class ProxyFactory implements ClothFactory {

    //接口申明
    ClothFactory cf;

    public ProxyFactory() {
        cf = new NickClothFactory();
    }

    @Override
    public void productCloth() {
        System.out.println("收取代理费10000");
        cf.productCloth();
    }

}
